<template>
  <div class="blog-container">
    <Layout>
      <template>
        <div class="main">
          <BlogList />
        </div>
      </template>
      <template #right>
        <div class="right">
          <BlogCategory />
        </div>
      </template>
    </Layout>
  </div>
</template>

<script>
import Layout from "@/components/Layout";
import BlogList from "./components/Blog/BlogList.vue";
import BlogCategory from "./components/Blog/BlogCategory.vue";

export default {
  name: "Blog",
  components: {
    Layout,
    BlogList,
    BlogCategory,
  },
};
</script>

<style scoped lang="less">
.blog-container {
  .main {
    height: 100vh;
    overflow-y: auto;
  }
  .right{
    position: relative;
    height:100%;
  }
}
</style>